/*
 * $Id: qtharbour.h 2 2010-11-04 21:28:51Z tfonrouge $
 */

#ifndef QTHARBOUR_H
#define QTHARBOUR_H

#include "qtHarbour_global.h"

#include <QObject>
#include <QPointer>
#include <QVector>
#include <QHash>
#include <QEvent>

#include <vector>

using namespace std;

class QTHARBOURSHARED_EXPORT QtHarbour {
public:
    QtHarbour();
};

#include "hbvmint.h"

#include "hbapi.h"
#include "hbapiitm.h"
#include "hbapicls.h"
#include "hbvm.h"
#include "hbstack.h"
#include "hbapierr.h"

#include "hbchksum.h"

#define WXH_ERRBASE     8000

#define xhoObject QObject
#define xhoEventType QEvent
#define xhoTopLevelWindow   "WXTOPLEVELWINDOW"

class xho_Item;

#define MAP_PHB_BASEARRAY   QHash<PHB_BASEARRAY, xho_Item*>
#define MAP_XHOOBJECT       QHash<QObject*, xho_Item*>
#define MAP_CRC32           QHash<long, xho_Item*>
#define MAP_PHB_ITEM        QHash<PHB_ITEM, bool>

#include "xho_classes.h"

QString   qth_parc( const int iParam );
void 	  qth_retc( QString string );

#endif // QTHARBOUR_H
